import request from './request'

export function getSceneList() {
  return request.get('/scenes')
}

export function createScene(data) {
  return request.post('/scenes', data)
}

export function updateScene(id, data) {
  return request.put(`/scenes/${id}`, data)
}

export function deleteScene(id) {
  return request.delete(`/scenes/${id}`)
}

export function activateScene(id) {
  return request.post(`/scenes/${id}/activate`)
} 